@extends("layouts.master")

@section("body")
<div class="col-lg-12">
    <div class="panel panel-default">
        <div class="panel-heading">
            <h2><i class="fa fa-pencil red"></i><strong>用户信息</strong></h2>
            <div class="panel-actions">
                <a class="btn-close"><i class="fa fa-times"></i></a>
            </div>
        </div>
        <div class="panel-body">
            <table id="user" class="table table-bordered table-striped" style="clear: both">
                <tbody> 
                    <tr>         
                        <td width="35%">用户账号</td>
                        <td width="65%">{{ $user->username }}</td>
                    </tr>
                    <tr>         
                        <td>用户姓氏</td>
                        <td>{{ $user->last_name }}</td>
                    </tr>  
                    <tr>         
                        <td>用户名称</td>
                        <td>{{ $user->first_name }}</td>
                    </tr>
                    <tr>         
                        <td>用户角色</td>
                        <td>{{ $user->roles[0]->slug }}</td>
                    </tr>  
                    <tr>         
                        <td>创建时间</td>
                        <td>{{ $user['created_at'] }}</td>
                    </tr>
                    <tr>         
                        <td>最后修改时间</td>
                        <td>{{ $user['updated_at'] }}</td>
                    </tr>                  
                </tbody>
            </table>
            <a href="javascript:history.back(-1)">                 
                <button type="button" class="btn btn-primary btn-lg btn-block">返回</button>
            </a>
        </div>
    </div>
</div>

@stop

@section('js')
    
@stop